Share via


MobileControlsSection Class [IIS 7 and higher]

Exposes configuration information for mobile controls, their adapters, and device filters.

Syntax

class MobileControlsSection : ConfigurationSectionWithCollection

Methods

The following table lists the methods exposed by the MobileControlsSection class.

Name

Description

Add

(Inherited from ConfigurationSectionWithCollection.)

Clear

(Inherited from ConfigurationSectionWithCollection.)

Get

(Inherited from ConfigurationSectionWithCollection.)

GetAllowDefinition

(Inherited from ConfigurationSection.)

GetAllowLocation

(Inherited from ConfigurationSection.)

Remove

(Inherited from ConfigurationSectionWithCollection.)

RevertToParent

(Inherited from ConfigurationSection.)

SetAllowDefinition

(Inherited from ConfigurationSection.)

SetAllowLocation

(Inherited from ConfigurationSection.)

Properties

The following table lists the properties exposed by the MobileControlsSection class.

Name

Description

AllowCustomAttributes

A read/write boolean value. true if pages can have custom attributes; otherwise, false. The default is false.

CookielessDataDictionaryType

A read/write string value that specifies the type of the dictionary class that maintains the keys for cookieless Forms authentication. The default is "System.Web.Mobile.CookielessData".

MobileControls

An array of read/write DeviceElement values that define adapter sets that map ASP.NET mobile controls to corresponding adapters.

Location

(Inherited from ConfigurationSection.) A key property.

Path

(Inherited from ConfigurationSection.) A key property.

SectionInformation

(Inherited from ConfigurationSection.)

SessionStateHistorySize

A read/write sint32 value that specifies the size of the history stack to use to keep the application view state in the server session. The value must be between 0 and 2147483647. The default is 6.

Subclasses

This class contains no subclasses.

Inheritance Hierarchy

ConfigurationSection

   ConfigurationSectionWithCollection

      MobileControlsSection

Requirements

Type

Description

Client

Requires IIS 7 on Windows Vista.

Server

Requires IIS 7 on Windows Server 2008.

Product

IIS 7

MOF file

WebAdministration.mof

See Also

Reference

AdapterElement Class [IIS 7 and higher]

ConfigurationSectionWithCollection Class [IIS 7 and higher]

DeviceElement Class [IIS 7 and higher]

Other Resources

MobileControlsSection Properties